- 
		Home
	
 
	- 
Online Scheduling and Appointment Booking System – Bookly
 
- 
25.6
 
- 
Code
 
- 
Classes
 
-  CartInfo 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											83 | 
										
																			
											| Dependencies | 
											13 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											544 | 
										
																			
											| Lines of code | 
											254 | 
										
																			
											| Logical lines of code | 
											139 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											172 | 
										
																			
											| Methods | 
											31 | 
										
																			
											| Properties | 
											21 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 31
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| __construct() | 
									B  | 
																	38 | 
													19 | 
													65 | 
							
					
				| getGatewayAmount() | 
									A  | 
																	52 | 
													8 | 
													25 | 
							
					
				| getTotalTax() | 
									S  | 
																	49 | 
													6 | 
													32 | 
							
					
				| getGatewayTax() | 
									S  | 
																	65 | 
													4 | 
													10 | 
							
					
				| getTotal() | 
									S  | 
																	65 | 
													4 | 
													8 | 
							
					
				| getDepositPay() | 
									S  | 
																	64 | 
													4 | 
													8 | 
							
					
				| getDue() | 
									S  | 
																	70 | 
													3 | 
													6 | 
							
					
				| getPayNowWithoutGiftCard() | 
									S  | 
																	71 | 
													3 | 
													5 | 
							
					
				| getGiftCardDiscount() | 
									S  | 
																	77 | 
													3 | 
													3 | 
							
					
				| getDepositTax() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| setGateway() | 
									S  | 
																	62 | 
													2 | 
													11 | 
							
					
				| setGatewayTaxCalculationRule() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| hasDiscount() | 
									S  | 
																	76 | 
													2 | 
													3 | 
							
					
				| getPayTax() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| getTotalNoTax() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| getCoupon() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getGiftCard() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getSubtotal() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setSubtotal() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDeposit() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDeposit() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getWaitingListTotal() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getWaitingListDeposit() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getGateway() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getPriceCorrection() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getGroupDiscount() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getAddonDiscount() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getUserData() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getDiscount() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getPayNow() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getPayFull() | 
									S  | 
																	82 | 
													1 | 
													3 |